package com.zf.bm.common.core.sys.dao;

import com.zf.bm.common.core.base.dao.BaseDao;

import com.zf.bm.common.core.sys.entity.Citycode;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author guojing
 * @since 2021-08-05
 */
public interface CitycodeDao extends BaseDao<Citycode> {
    @Select("select code from citycode where name = #{name}")
    String getCode(String name);
}
